
package com.market.web.action;

import org.springframework.beans.BeanUtils;

import com.market.bean.Lock;

public class AdminLockSaveAction extends AdminProductAction
{
    private String size;

    private String setMode;

    private String suit;

    private String producingArea;

    public String getProducingArea()
    {
        return producingArea;
    }

    public void setProducingArea(String producingArea)
    {
        this.producingArea = producingArea;
    }

    public String getSetMode()
    {
        return setMode;
    }

    public void setSetMode(String setMode)
    {
        this.setMode = setMode;
    }

    public String getSize()
    {
        return size;
    }

    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSuit()
    {
        return suit;
    }

    public void setSuit(String suit)
    {
        this.suit = suit;
    }
    
    public String execute() throws Exception
    {
        //LockForm lf = (LockForm)form;
        Lock l = new Lock();
        BeanUtils.copyProperties(this, l);
        return SaveOrUpdateProduct(l);
    }
}
